package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class CategorySearchResult {
    @JsonFormat(shape = JsonFormat.Shape.STRING) // 关键注解
    private Long id;
    private String name;
    @JsonFormat(shape = JsonFormat.Shape.STRING) // 关键注解
    private Long parentId;
    private String parentName;
}